<template>
	<view class="left clearfix bai">
		<view class="left bill-item bai clearfix">
			<!--标题-->
			<view class="bill-left left clearfix">
				<view class="bill-title left">
					{{data.title}}
				</view>
				<view class="bill-time left">
					{{data.time}}
				</view>
			</view>
			<view class="bill-right right clearfix">
				- {{data.price.toFixed(2)}} 
			</view>
		</view>
	</view>
</template>

<style scoped>
	.bill-time{line-height:1.5rem;height:1.5rem;width:100%;font-size:.8rem;color:#999;}
	.bill-title{line-height:1.5rem;height:1.5rem;width:100%;font-weight:600;font-size:.9rem;margin-top:.25rem;}
	.bill-right{width:25%;height:100%;line-height:3.5rem;text-align: center;}
	.bill-left{width:70%;height:100%;}
	.bill-item{width:100%;height:3.5rem;border-bottom:1px solid #efefef;}
</style>

<script>
	export default {
		name:"bill-item",
		data() {
			return {
				
			};
		},
		props:{
			data:{
				type:Object,
				default:''
			}
		},
		methods:{
			navigatorTo(){
				uni.redirectTo({
					url:'/pages/my/my'
				});
			}
		}
	}
</script>
